package objects;

import java.awt.Graphics;
import java.awt.image.BufferedImage;

import core.Main;
import core.Vector2;

public class Flag extends Entity {

	private BufferedImage image;
	
	public Flag(Vector2 pos, double angle, Vector2 size) {
		super(pos, angle, size);
		image = Main.imageLoader.load("/gfx/Flag.jpg");
	}
	
	@Override
	public void render(Graphics g) {
		g.drawImage(image, (int)pos.x, (int)pos.y, null);
	}

}
